﻿using FreeSql.DataAnnotations;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Threading.Tasks;

namespace Magicodes.IE.Demo.Modules
{
    public class UserInfo
    {
        /// <summary>
        /// 学生编号
        /// </summary>
        [Description("学生编号")]
        [Column(IsIdentity = true, IsPrimary = true)]
        public int? Id { get; set; }

        /// <summary>
        /// 学生姓名
        /// </summary>
        public string UserName { get; set; }

        /// <summary>
        /// 学生性别
        /// </summary>
        public string Sex { get; set; }

        /// <summary>
        /// 学生联系电话
        /// </summary>
        public string Phone { get; set; }

        /// <summary>
        /// 学生描述
        /// </summary>
        public string Description { get; set; }

        /// <summary>
        /// 学生爱好
        /// </summary>
        public string Hobby { get; set; }
    }
}
